home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / cawf404.zip / ms.mac < prev    next >
Text File  |  1993-12-07  |  3KB  |  214 lines

  1. .^b HF 1
  2. .^b fh 0
  3. .^b NH
  4. .\"-----------------
  5. .de R
  6. .ie \\n(.$=0 .ft R
  7. .el \\fR\\$1\\fP\\$2
  8. ..
  9. .\"-----------------
  10. .de I
  11. .ie \\n(.$=0 .ft I
  12. .el \\fI\\$1\\fP\\$2
  13. ..
  14. .\"-----------------
  15. .de B
  16. .ie \\n(.$=0 .ft B
  17. .el \\fB\\$1\\fP\\$2
  18. ..
  19. .\"-----------------
  20. .de UX
  21. .\" old-fashioned capitalization -- I've never gotten used to the new one
  22. \\$2Unix\\$1
  23. ..
  24. .\"-----------------
  25. .de DA
  26. .ds DY "\\$1 \\$2 \\$3
  27. .\" keep trailing spaces out of CF
  28. .if \\n(.$=1 .ds CF "\\$1
  29. .if \\n(.$=2 .ds CF "\\$1 \\$2
  30. .if \\n(.$>2 .ds CF "\\$1 \\$2 \\$3
  31. ..
  32. .\"-----------------
  33. .de ND
  34. .\" it's our default, ignore it
  35. ..
  36. .\"-----------------
  37. .de TL
  38. .rs
  39. .sp 5
  40. .ft B
  41. .ce 9999
  42. ..
  43. .\"-----------------
  44. .de AU
  45. .sp 2
  46. .ft R
  47. ..
  48. .\"-----------------
  49. .de AI
  50. .sp
  51. .ft R
  52. ..
  53. .\"-----------------
  54. .de AB
  55. .sp 2
  56. .ce 0
  57. .ll -7n
  58. .in +7n
  59. ..
  60. .\"-----------------
  61. .de AE
  62. .sp
  63. .ll
  64. .in
  65. ..
  66. .\"-----------------
  67. .\" common initialization for headers and paragraphs:  .In need extraspace
  68. .de In
  69. .ne \\$1
  70. .sp \\n(Tsu
  71. .nr Ts 0
  72. .ie \\n(.$>1 .nr iN \\$2v
  73. .el .nr iN 0
  74. .sp \\n(PDu+\\n(iNu
  75. .ce 0
  76. .ft R
  77. .in 0
  78. .ti 0
  79. .in \\n(inu
  80. .ll \\n(LLu
  81. .ns
  82. .fi
  83. ..
  84. .\"-----------------
  85. .de SH
  86. .nr in 0
  87. .In 6 1
  88. .ft B
  89. ..
  90. .\"-----------------
  91. .de NH
  92. .nr in 0
  93. .In 6 1
  94. .ft B
  95. .\" punt to awk code to get the header numbering right
  96. .nH \\$1
  97. .\" and pick up the result
  98. \&\\*(Nh
  99. ..
  100. .\"-----------------
  101. .de LP
  102. .In 4
  103. ..
  104. .\"-----------------
  105. .de PP
  106. .In 4
  107. .ti \\n(PIu
  108. ..
  109. .\"-----------------
  110. .de TP
  111. .In 4
  112. .if \\n(.$>0 .nr tp \\$1n
  113. .in \\n(inu+\\n(tpu
  114. .ti 0-\\n(tpu
  115. .it 1 tP
  116. ..
  117. .\"-----------------
  118. .de IP
  119. .ie \\n(.$>1 .TP "\\$2"
  120. .el .TP 4n
  121. \&\\$1
  122. ..
  123. .\"-----------------
  124. .de QP
  125. .In 4
  126. .in +5n
  127. .ll -5n
  128. ..
  129. .\"-----------------
  130. .de QS
  131. .nr in +5n
  132. .nr LL -5n
  133. .In 4
  134. ..
  135. .\"-----------------
  136. .de QE
  137. .nr in -5n
  138. .nr LL +5n
  139. .In 4
  140. ..
  141. .\"-----------------
  142. .de DS
  143. .In 5
  144. .if '\\$1'C' .ce 9999
  145. .if '\\$1'' .in +5n
  146. .nf
  147. ..
  148. .\"-----------------
  149. .de CD
  150. .In 5
  151. .ce 9999
  152. .nf
  153. ..
  154. .\"-----------------
  155. .de LD
  156. .In 5
  157. .nf
  158. ..
  159. .\"-----------------
  160. .de ID
  161. .In 5
  162. .in +5n
  163. .nf
  164. ..
  165. .\"-----------------
  166. .de DE
  167. .In 3
  168. .rs
  169. ..
  170. .\"-----------------
  171. .de RS
  172. .nr in +5n
  173. .in \\n(inu
  174. ..
  175. .\"-----------------
  176. .de RE
  177. .nr in -5n
  178. .in \\n(inu
  179. ..
  180. .\"-----------------
  181. .de UL
  182. \&\\fI$1\\fP
  183. ..
  184. .\"-----------------
  185. .de RP
  186. ..
  187. .\"-----------------
  188. .de LG
  189. ..
  190. .\"-----------------
  191. .de SM
  192. ..
  193. .\"-----------------
  194. .de NL
  195. ..
  196. .\"-----------------
  197. .\" the -ms accent strings
  198. .ds ' "'\b
  199. .ds ` "`\b
  200. .ds : ""\b
  201. .ds ^ "^\b
  202. .ds ~ "~\b
  203. .ds C "v\b
  204. .ds , ",\b
  205. .\" post-title spacing
  206. .nr Ts 4v
  207. .\" and parameter setup
  208. .nr LL 6i
  209. .ll \n(LLu
  210. .nr PD 0.3v
  211. .nr PI 5n
  212. .ds CH - % -
  213. .ds CF \*(DY
  214.